@charset "utf-8";

@import url("../styles/index.less");

// 头部
#header {
  .empty {
    .link {
      display: block;
      padding: 26px 0 38px;
      text-align: right;
      color: #333;
    }
    &:hover {
      .lt-br {
        display: block;
      }
    }
    .lt-br {
      display: none;
    }

    .lt-text {
      background-color: #fff !important;
      .sub {
        color: #333;
        a {
          color: #333 !important;
          &:hover {
            color: #fff !important;
          }
        }
        &:hover {
          color: #fff;
        }
      }
    }
  }
}

// 粘性定位导航
#vp {
  position: sticky;
  top: 0px;
  z-index: 4;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 5px 5px rgb(0 0 0 / 7%);
  .nav-br {
    height: 63px;
    width: 100%;
    margin-top: 0;
    color: #616161;
    h2 {
      margin: 0;
      font-size: 18px;
      font-weight: 400;
      line-height: 60px;
      color: #424242;
      float: left;
    }
    .nav-rt {
      float: right;
      margin-top: 17px;
      a {
        color: #616161;
        &:hover {
          color: #ff6700;
        }
      }
      .sep {
        color: #e0e0e0;
        margin: 0 0.5em;
      }
    }
  }
}

#main {
  background-color: #fff;
  .login {
    background: #f7f7f7;
    width: 100%;
    text-align: center;
    height: 48px;
    line-height: 48px;
    color: #333;
    .logo {
      color: #ff6700;
      margin-left: 25px;
    }
    .de {
      color: #b5b5b5;
      font-size: 20px;
      vertical-align: middle;
      margin-left: 10px;
    }
  }
  .br {
    .container();
    display: flex;
    justify-content: center;
    padding-top: 32px;
    padding-bottom: 12px;
    .left-img {
      width: 606px;
      position: relative;

      .br-box {
        width: 560px;
        height: 560px;
        .img-wp {
          width: 560px;
          height: 560px;
          img {
            width: 100%;
            position: absolute;
            left: 0;
            right: 0;
          }
        }

        .dot {
          width: 100%;
          position: absolute;
          left: 0;
          text-align: center;
          transition: opacity 0.3s;
          transform: translateZ(0);
          z-index: 10;
          bottom: 20px;
        }
      }
    }
    .right {
      width: 600px;
      height: 740px;
      flex: 1;
      margin-left: 20px;
      h2 {
        margin: 0;
        padding: 0;
        font-size: 24px;
        font-weight: 400;
        color: #212121;
      }
      .sale {
        color: #b0b0b0;
        margin: 0;
        padding: 0;
        padding-top: 8px;
        line-height: 1.5;
      }
      .company-info {
        color: #ff6700;
        margin-bottom: 0;
        margin-top: 14px;
      }
      .price-info {
        display: block;
        font-size: 18px;
        line-height: 1;
        color: #ff6700;
        padding: 12px 0 10px;
        span {
          font-size: 18px;
          line-height: 1;
          color: #ff6700;
        }
      }
      .line {
        font-size: 18px;
        line-height: 1;
        color: #ff6700;
      }
      .address-box {
        margin: 20px 0;
        .product-address {
          padding: 30px 50px;
          position: relative;
          background: #fafafa;
          border: 1px solid #e0e0e0;
          i {
            position: absolute;
            left: 20px;
            top: 26px;
            font-size: 20px;
            color: #999;
          }
          .address-con {
            .up {
              .address-info {
                display: inline-block;
                span {
                  display: inline;
                  margin-right: 14px;
                }
              }
              .edit {
                display: inline-block;
                color: #ff6700;
                margin: 0;
              }
            }
            .dw {
              span {
                color: #ff6700;
                margin: 0;
              }
            }
          }
        }
      }

      .buy-option {
        .buy-box-child {
          margin-bottom: 30px;
          position: relative;
          .option-box {
            .tl {
              font-size: 18px;
            }
            ul {
              margin: 0;
              padding: 0;
              li {
                margin-right: 12px;
                margin-top: 10px;
                line-height: 42px;
                height: 42px;
                position: relative;
                border: 1px solid #e0e0e0;
                list-style: none;
                cursor: pointer;
                transition: all 0.2s ease;
                float: left;
                width: 292px;
                font-size: 16px;
                text-align: center;
                z-index: 3;
                border-color: #ff6700;
                a {
                  color: #ff6700;
                }
              }
            }
          }
        }
      }

      .selected-list {
        background: #f9f9fa;
        padding: 30px;
        margin-bottom: 30px;
        ul {
          margin: 0;
          padding: 0;
          li {
            margin-top: 0;
            list-style: none;
            line-height: 30px;
            color: #616161;
            h3 {
              display: block;
              float: left;
            }
            span {
              float: right;
            }
          }
        }
        .total-price {
          color: #ff6700;
          font-size: 24px;
          padding-top: 20px;
        }
      }

      .btn-box {
        margin: 10px 0 20px 0;
        .sale-btn {
          display: inline-block;
          margin-right: 20px;
          .btn {
            display: block;
            padding: 0;
            margin: 0;
            width: 298px;
            height: 52px;
            line-height: 52px;
            font-size: 16px;
            background: #ff6700;
            border-color: #ff6700;
            color: #fff;
            border: 1px solid #b0b0b0;
            text-align: center;
            cursor: pointer;
            transition: all 0.4s;
          }
        }
        .favorite-btn {
          display: inline-block;
          vertical-align: top;
          .btn-like {
            display: block;
            width: 140px;
            height: 52px;
            line-height: 52px;
            padding: 0;
            margin: 0;
            border: 1px solid #b0b0b0;
            text-align: center;
            cursor: pointer;
            transition: all 0.4s;
            font-size: 16px;
            position: relative;
            background: #b0b0b0;
            color: #fff;
            i {
              font-size: 22px;
              line-height: 23px;
              vertical-align: -4px;
              margin-right: 5px;
            }
          }
        }
      }

      .after-sale-info {
        span {
          display: inline-block;
          .support {
            display: inline-block;
            margin-right: 15px;
            line-height: 30px;
            margin-bottom: 10px;
            cursor: default;
            white-space: nowrap;
            color: #b0b0b0;
            i {
              font-size: 20px;
              display: inline-block;
              font-style: normal;
              vertical-align: middle;
            }
            em {
              font-style: normal;
              display: inline-block;
              margin-left: 2px;
              vertical-align: middle;
            }
          }
        }
      }
    }
  }

  .product-detail {
    padding-bottom: 50px;
    background: #f5f5f5;
    .section {
      .ti {
        h3 {
          font-size: 22px;
          font-weight: 400;
          margin-top: 0;
          margin-bottom: 0;
          padding: 1em 0;
        }
      }
      .img-box {
        position: relative;
        width: 100%;
        overflow: hidden;
        margin: 0 auto;
        img {
          position: absolute;
          left: 50%;
          top: 0;
          -webkit-transform: translate3d(-50%, 0, 0);
          transform: translate3d(-50%, 0, 0);
          height: 100%;
        }
      }
    }
  }
}
